package com.demo2;

public class Dog extends Animal{
    public Dog() {
    }

    public Dog(String name, int age) {
        super(name, age);
    }

    @Override
    public void eat(String something) {
        System.out.println("狗在吃"+something);
    }
}
